home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / rpcstat.man < prev    next >
Encoding:
Text File  |  1991-02-12  |  4.4 KB  |  135 lines

  1.  
  2.  
  3.  
  4. RPCSTAT                   User Commands                   RPCSTAT
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      rpcstat - Print out statistics about the RPC system
  12.  
  13. SSYYNNOOPPSSIISS
  14.      rrppccssttaatt  -[ptions]
  15.  
  16. OOPPTTIIOONNSS
  17.      --ttrraaccee        Print out the RPC trace.
  18.  
  19.      --cciinnffoo        Print client-side RPC system statistics.
  20.  
  21.      --ssiinnffoo        Print server-side RPC system statistics.
  22.  
  23.      --cchhaann         Print the state of the client RPC channels.
  24.  
  25.      --ssrrvvrr         Print the state of the RPC server processees.
  26.  
  27.      --ccaallllss        Print the number of RPC calls made.
  28.  
  29.      --rrppccss         Print the number of RPC calls serviced.
  30.  
  31.      --zzeerroo         Print the zero valued counts.
  32.  
  33.      --nnoohhoossttddbb     Do not search the host database file.
  34.  
  35. _________________________________________________________________
  36.  
  37. IINNTTRROODDUUCCTTIIOONN
  38.      This command is used to get statistics and trace information
  39.      about the Sprite kernel-to-kernel RPC system.
  40.  
  41. RRPPCC TTRRAACCEE
  42.      The RPC trace has a record for the last 100 packets sent  or
  43.      received  in  the  RPC  network protocol.  The trace has the
  44.      following fields:
  45.  
  46.           IIDD ccooddee ttiimmee ffllaagg ccoommmmnndd cclliieenntt sseerrvveerr ppssiizzee ddssiizzee ddooffff ffrraaggmmeenntt
  47.  
  48.      IIDD        The RPC sequence number.  A new  ID  is  generated
  49.                for each RPC, and all packets involved with an RPC
  50.                contain this ID.
  51.  
  52.      ccooddee      Either "in"  or  "out"  to  mean  the  packet  was
  53.                transmitted or received.
  54.  
  55.      ttiimmee      Seconds since last packet.  Sun3 clock granularity
  56.                is too low (10 msec) for this to be meaningful.
  57.  
  58.      ffllaagg
  59.  
  60.                QQ reQuest packet.
  61.                QQpp reQuest with please acknowledge bit set.
  62.  
  63.  
  64.  
  65. Sprite v.1.0       Printed:  February 11, 1991                  1
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72. RPCSTAT                   User Commands                   RPCSTAT
  73.  
  74.  
  75.  
  76.                AA Acknowledgment packet.
  77.                RR Reply packet.
  78.                RRee Error reply; command field contains error code.
  79.                AAcc Close acknowledgment sent to close client/server binding.
  80.  
  81.      ccoommmmaanndd   The RPC name.  If this is a number  and  the  flag
  82.                field  is  "Re",  then  this is the returned error
  83.                code.
  84.  
  85.      cclliieenntt    Two numbers  identify  the  client  host  and  the
  86.                client channel number.
  87.  
  88.      sseerrvveerr    Two numbers  identify  the  server  host  and  the
  89.                server process number.
  90.  
  91.      ppssiizzee     The size of the parameter area of the packet.
  92.  
  93.      ddssiizzee     The size of the data area of the packet
  94.  
  95.      ddooffff      The offset of the data area.  Used when  fragment-
  96.                ing large data blocks.
  97.  
  98.      ffrraaggmmeenntt  Two numbers are the number of  fragments  and  the
  99.                fragment bitmask.
  100.  
  101. CCLLIIEENNTT RRPPCC
  102.      The client half of the RPC system maintains statistics about
  103.      the number of timeouts, retransmissions, etc.  The output of
  104.      the --CC option is (nearly) self-explanitory.  There are  also
  105.      a  set  of  _c_h_a_n_n_e_l_s  used  by the client side of RPC.  Each
  106.      channel  is  dynamically  bound  to  a   particular   server
  107.      host/process  pair,  and  the  kernel  attempts to reuse the
  108.      channel for successive RPCs to that server.  The  --cc  option
  109.      prints  out  the state of the client channels, what they are
  110.      bound to, what RPC is in progress, etc.  The binding is  not
  111.      hard,  but  is used to optimize away explicit acknowledgment
  112.      packets.
  113.  
  114. SSEERRVVEERR RRPPCC
  115.      The server half of the RPC system maintains statistics about
  116.      the  number  of  requests  it  has  received,  the number of
  117.      requests that implicitly acknowledged a previous reply, etc.
  118.      The  output  of  the --SS option is (nearly) self-explanitory.
  119.      There are also a pool of kernel RPC server  processes.   The
  120.      --ss  option  prints  out  the  state  of  each, their current
  121.      client, the current RPC, etc.
  122.  
  123. KKEEYYWWOORRDDSS
  124.      rpc, server, client, channel
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131. Sprite v.1.0       Printed:  February 11, 1991                  2
  132.  
  133.  
  134.  
  135.